package com.java2104.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_user_message")
public class UserMessage {
    @TableId(type = IdType.AUTO)
    private Integer id;//用户ID
    private Integer sex;//性别 1是男，2是女
    @TableField("create_date")
    private Timestamp createDate;//创建日期
    private float balance;//余额
    private String userName;//用户名
    @TableField("delete_status")
    private Integer deleteStatus;//删除状态 0是可用，1是不可用
}
